﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wicresoft.UnifyShow.Business
{
    public interface IAlert
    {
        List<AlertDetailAndDevice> GetAlertBySiteBSAndDeviceID(int siteID, int bsID, int? deviceID, out Decimal totalRecords, int pageSize = -1, int pageIndex = -1,
            string sortName = "Timestamp", string sortDirection = "Descending"/*Ascending,Descending*/);
        List<AlertModel> GetOpenAlertBySiteID(int site, DateTime? sTime, DateTime? eTime, int? ps, int? pi);
        List<AlertDetailAndDevice> GetAlertBySiteAndDeviceID(int siteID, int? deviceID, out Decimal totalRecords, int pageSize = -1, int pageIndex = -1,
            string sortName = "Timestamp", string sortDirection = "Descending"/*Ascending,Descending*/);
    }
}
